package Core;

import java.util.TreeMap;
import java.util.Vector;
/*
 * Made By: Kudinov Roma
 * 2013
 * 
 */
public class SessionData 
{
	public Rank rank;
	public boolean loggedIn;
	public TreeMap<String, Integer> forums;
	public TreeMap<String, Integer> subForums;
	public TreeMap<String, Integer> forumUsers;
	public TreeMap<String, Integer> topics;
	public Vector<Integer> SubForumModeratorIds;
	public Vector<String> posts;
	public Vector<Integer> postIds;
	public Vector<Integer> postUserIds;
	public Vector<String> postUserNames; 
	
	public String currentForum;
	public String currentSelectedForum;
	public String currentSubForum;
	public String currentSelectedSubForum;
	public String currentTopic;
	public String currentSelectedTopic;
	public int currentSelectedPost;
	public int myUserId;
	
	
	public SessionData()
	{
		rank = Rank.GUEST;
		forums = new TreeMap<String, Integer>();
		subForums = new TreeMap<String, Integer>();
		forumUsers = new TreeMap<String, Integer>();
		topics = new TreeMap<String, Integer>();
		posts = new Vector<String>();
		postIds = new Vector<Integer>();
		postUserNames = new Vector<String>();
		SubForumModeratorIds = new Vector<Integer>();
		postUserIds = new Vector<Integer>();
		postIds = new Vector<Integer>();
		loggedIn = false;
		currentForum = "";
		currentSubForum = "";
		currentSelectedForum = "";
		currentSelectedSubForum = "";
		currentTopic = "";
		currentSelectedTopic = "";
		currentSelectedPost = 0;
	}

}
